<template>
<!--关注的歌手-->
  <div class="showSinger">
    <img :src="singerInfo.picUrl" alt />
    <p>{{singerInfo.name}}</p>
  </div>
</template>

<script>
export default {
  name: "showSinger",
  props:['singerInfo'],
  mounted() {
      
  }
};
</script>

<style scoped lang='less'>
.showSinger {
  width: 140px;
  display: inline-block;
  text-align: center;
  img {
    width: 100%;
    border-radius: 50%;
  }
  p {
    font-family: "Courier New", Courier, monospace;
    margin: 5px 0px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
</style>